package com.fzy.core.system.action;

import com.fzy.core.Page;
import com.fzy.core.system.service.EntityQuery;
import com.fzy.core.system.service.EntityService;
import com.opensymphony.xwork.Preparable;

public class EntityListAction implements Preparable {
	Page page;
	EntityQuery entityQuery;
	EntityService entityService;
	public void prepare() throws Exception {
		
	}
	public String execute() throws Exception {
		page = entityService.list(entityQuery);
		return "dispatcher:/WEB-INF/jsp/ex/dx/town-back-list.jsp";
    }
	public Page getPage() {
		return page;
	}
}
